# -*- mode: snippet -*-
# name: shiny ui selectInput
# key: shiny.ui.selectInput
# key: shiny_ui_selectInput
# key: selectInput_shiny_ui
# contributor: Shuguang Sun
# --
selectInput(
  inputId = "${1:id}",
  label = "${2:label}",
  choices = c("${3:choice-name}" = "${4:choice-value}"),
  choices = list(\`East Coast\` = list("NY", "NJ", "CT")),
  selected = NULL,
  multiple = FALSE,
  selectize = TRUE,
)